package models

import "gorm.io/gorm"

type Coupon struct {
	gorm.Model
	ID         int
	ShopId     int
	Rule       string
	RuleDetail string
	Time       string
	UserList   string
	Enable     int
}

func (table *Coupon) TableName() string {
	return "commodity__coupon"
}
